package strategy.fromKanYun;

public class Test {
    public static void main(String[] args){
        //新建一个国王角色
        Character king = new King();
        //调用国王的
        king.performWarpon();
        king.setWeapon(new KnifeBehavior());
        king.performWarpon();
    }
}
